﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Dispatch1.aspx.cs" Inherits="Services_Dispatch" %>
<html>
<head>
    <base target="_self"></base>
    <title>无标题页</title>
    <link href="../css/adminCss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/rl.js"></script>
    <script type="text/javascript" src="../js/submit.js"></script>
    
 <script type="text/javascript">
 var xmlHttp; 
    var ajaxresponsevalue;
    function createXMLHttpRequest() { 
        if (window.ActiveXObject) { 
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); 
        } 
        else if (window.XMLHttpRequest) { 
            xmlHttp = new XMLHttpRequest(); 
        } 
    } 
     function startRequest() {  
          if(document.getElementById('txtGuestName').value!="")
         {
	    document.getElementById('Msg').innerHTML = "正在获取客户信息...";
	    document.getElementById("Msg").style.visibility="visible";
	    createXMLHttpRequest(); 
	    xmlHttp.onreadystatechange = handleStateChange; 
	    xmlHttp.open("POST", 'Data.aspx?GuestName='+escape(document.getElementById('txtGuestName').value), true);
	    xmlHttp.send(null); 
	    }
    }
     function handleStateChange() { 
      
	    if(xmlHttp.readyState == 4) { 
	   
		    if(xmlHttp.status == 200) {

		    getDownListData(xmlHttp.responseText);	
			   
		  }
		     
	    } 
    } 
        function getDownListData(GuestName)
      {
        var pos,str,para,parastr,tempstr1; 
        tempstr=""; 
        str = window.location.href; 
        pos = str.indexOf("?") 
        parastr = str.substring(pos+1);    
        if(GuestName!="")
        {
           window.open("selectGuestwc.aspx?"+parastr+"&GuestName="+GuestName,"","width=800px,height=650px,left=100px,top=30px,scrollbars=yes");
           
        }
        else
        {
            
        }
       
        
	        document.getElementById("Msg").style.visibility="hidden";
    
      }
  
        function check(id)
        {
       
           id.value="";
        }
//        function PrintData(lblDh,txtCode,txtGuestName,txtManName,txtPhone,txtAddress,txtdate,lblName,txtDate1,txtUnits,txtComoName,txtBrand,txtSpeci,ddlName,txtbj,yydate,txtsjfj,txtxlh1,txtxlh2)
//         {
//        if(id!="")
//        {
//            window.open("DrawPrint.aspx?lblDh="+lblDh+"&&&&&&&&&&&&&&&&&&&&,"","width=800px,height=550,left=100px,top=30px,scrollbars=yes");
//            return false;
//        }
//        return false;
//          }
   function PrintData(id,moduid)
    {
        if(id!="")
        {
            window.open("DrawPrint.aspx?id="+id,"","width=800px,height=650px,left=100px,top=30px,scrollbars=yes");
            window.location.href="ServiceGuestfwz.aspx?moduid="+moduid+"";

        }
        return false;
    }
        function account()
        {
            var sl=document.getElementById("txtNum").value;
            var dj=document.getElementById("txtCmoney").value;
            var Discount=document.getElementById("txtDiscount").value;
            if(sl==""||dj=="")
            {
                document.getElementById("txtWxjg").value="";
            }
            else if(isNaN(sl))
            {
                document.getElementById("Label2").innerText="数量格式有误，必须由数字组成";
            }
            else if(isNaN(dj))
            {
                document.getElementById("Label2").innerText="单价格式有误,必须由数字组成";
            }
            else if(isNaN(Discount))
            {
                document.getElementById("Label2").innerText="单价格式有误,必须由数字组成";
            }
            else if(sl!=""&&dj!=""&&!isNaN(sl)&&!isNaN(dj)&&!isNaN(Discount))
            {
                document.getElementById("txtTotalMoney").value=sl*dj*Discount;
                
            }
        }
     

     function dispAdd()
     {
        document.getElementById("t1").style.display="";
        document.getElementById("t2").style.display="";
        document.getElementById("t3").style.display="";
        document.getElementById("t4").style.display="";
        document.getElementById("t5").style.display=""; 
        document.getElementById("t6").style.display="";
        document.getElementById("t7").style.display="";
        document.getElementById("t8").style.display="";
        document.getElementById("t9").style.display="";
        document.getElementById("t10").style.display="";
        document.getElementById("t11").style.display="";
        document.getElementById("t12").style.display="";
        document.getElementById("t13").style.display="";
        document.getElementById("t14").style.display="";
        document.getElementById("t15").style.display="";
        document.getElementById("t16").style.display="";
        document.getElementById("t17").style.display="";
        document.getElementById("t18").style.display="";
        document.getElementById("t19").style.display="";

     }
    function checkselect()
  {
//  if(document.getElementById("ddlDept").selectedIndex==0)
//  {
//     alert('部门不能为空！');
//     document.getElementById("ddlDept").focus();
//     return false;
//  }
//   if(document.getElementById("ddlName").selectedIndex==0)
//  {
//     alert('维修人不能为空！');
//     document.getElementById("ddlName").focus();
//     return false;
//  }
}
function checkadd()
{
   if(document.getElementById("txtGuestName").value=="")
  {
     alert('客户名称不能为空！');
     document.getElementById("txtGuestName").focus();
     return false;
  }
  if(document.getElementById("txtManName").value=="")
  {
     alert('联系人不能为空！');
     document.getElementById("txtManName").focus();
     return false;
  }
  if(document.getElementById("txtPhone").value=="")
  {
     alert('电话不能为空！');
     document.getElementById("txtPhone").focus();
     return false;
  }
  if(document.getElementById("txtAddress").value=="")
  {
     alert('地址不能为空！');
     document.getElementById("txtAddress").focus();
     return false;
  }

  if(document.getElementById("txtComoName").value=="")
  {
     alert('商品名称不能为空！');
     document.getElementById("txtComoName").focus();
     return false;
  }
  if(document.getElementById("txtBrand").value=="")
  {
     alert('品牌不能为空！');
     document.getElementById("txtBrand").focus();
     return false;
  }
  if(document.getElementById("txtSpeci").value=="")
  {
     alert('型号不能为空！');
     document.getElementById("txtSpeci").focus();
     return false;
  }
  if(document.getElementById("txtDate1").value=="")
  {
     alert('购买日期不能为空！');
     document.getElementById("txtDate1").focus();
     return false;
  }
  if(document.getElementById("txtdate").value=="")
  {
     alert('维修日期不能为空！');
     document.getElementById("txtdate").focus();
     return false;
  }
  if(document.getElementById("txtbj").value=="")
  {
     alert('报修故障不能为空！');
     document.getElementById("txtbj").focus();
     return false;
  }
   if(document.getElementById("ddlDept").selectedIndex==0)
  {
     alert('部门不能为空！');
     document.getElementById("ddlDept").focus();
     return false;
  }
   if(document.getElementById("ddlName").selectedIndex==0)
  {
     alert('维修人不能为空！');
     document.getElementById("ddlName").focus();
     return false;
  }
}

    </script>
   
</head>
<body style="margin-top: 10px;">
    <form id="form1" runat="server" onsubmit=" checknull(this)">
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="31" height="22">
                    <img src="../images/module.gif" width="20" height="22"></td>
                <td style="width: 335px">
                    <asp:Label ID="lblPath" runat="server"></asp:Label></td>
                <td width="990" align="right">
                
                    <asp:LinkButton ID="LinkButton1" runat="server" ForeColor="Red" OnClick="LinkButton1_Click">返回</asp:LinkButton>
                </td>
            </tr>
        </table>
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td bgcolor="#3CB6E5" height="5px">
                </td>
            </tr>
        </table>
      <%--  <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr style="height:25px;">
                <td style="text-align: center; background-color:#ECF9FC;">
                    <asp:LinkButton ID="likadd" runat="server" OnClick="likadd_Click">添加维修单</asp:LinkButton></td>
                <td style="text-align: center">
                    <asp:LinkButton ID="likypd" runat="server" OnClick="likypd_Click">已派单</asp:LinkButton></td>
                <td style="text-align: center">
                    <asp:LinkButton ID="likyjsd" runat="server" OnClick="likyjsd_Click">已接受单</asp:LinkButton></td>
                <td style="text-align: center">
                    <asp:LinkButton ID="likfwz" runat="server" OnClick="likfwz_Click">服务中</asp:LinkButton>
                </td>
                <td style="text-align: center">
                    &nbsp;<asp:LinkButton ID="likyjd" runat="server">已结单</asp:LinkButton></td>
                <td style="text-align: center">
                    <asp:LinkButton ID="likall" runat="server">全部</asp:LinkButton>
                </td>
                <td style="text-align: center">当前记录数
                    <asp:Label ID="lbljl" runat="server"></asp:Label></td>
            </tr>
        </table>
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td bgcolor="#3CB6E5" height="2px">
                </td>
            </tr>
        </table>--%>
        <table width="99%" border="0" cellpadding="1" cellspacing="1" class="tabGg">
            <tr>
                <th  colspan="4" bgcolor="#FFFFFF" style="color: #3366ff; text-align: left">
                    <table width="100%" border="0">
                        <tr>
                            <td align="center" style="text-align: left;" colspan="2">
                                <asp:Label ID="lblMsg" runat="server" Text="业务编号：" ForeColor="Red"></asp:Label>
                                <asp:Label ID="lblDh" runat="server"></asp:Label>&nbsp;</td>
                        </tr>
                    </table>
                    </th>
            </tr>
             <tr bgcolor="#3CB6E5" height="5px">
                
            </tr>
            <tr><td bgcolor="#ffffff" colspan="4" height="22" style="color: #3366ff; text-align: left">
                <strong>客户基本信息</strong></td></tr>
            <tr>
                <th width="15%" height="25" bgcolor="#ffffff" class="r_bg">
                    客户名称：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px">
                    <asp:TextBox ID="txtGuestName" runat="server" CssClass="input1" onkeyup="startRequest()"></asp:TextBox><div id="Msg" style="position: absolute; width: 120px; height: 20px; z-index: 1;border: 1px solid #ff0000; background-color: #FEEED3; layer-background-color: #FEEED3;filter: alpha(opacity=50); visibility: hidden;"></div></td>
                <th bgcolor="#ffffff" class="r_bg" width="14%">
                    联 系 人：</th>
                <td bgcolor="#ffffff" class="right_bg" width="37%">
                    <asp:TextBox ID="txtManName" runat="server" CssClass="input1"></asp:TextBox></td>
            </tr>
            <tr>
                <th width="15%" height="26" bgcolor="#FFFFFF" class="r_bg">
                    联系电话：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style="width: 294px">
                   <asp:TextBox ID="txtPhone" runat="server" CssClass="input1"></asp:TextBox></td>
                <th width="14%" bgcolor="#FFFFFF" class="r_bg">
                    客户地址：</th>
                <td width="37%" bgcolor="#FFFFFF" class="right_bg">
                    <asp:TextBox ID="txtAddress" runat="server" CssClass="input1"></asp:TextBox></td>
            </tr>
            <tr bgcolor="#3CB6E5" height="5px">
                
            </tr>
            <tr><td colspan="4" style="color: #3366ff; text-align: left" height="22" bgcolor="#ffffff">
                <strong>商品基本信息</strong></td></tr>
            <tr>
                <th height="28" bgcolor="#FFFFFF" class="r_bg">
                    商品类型：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style="width: 294px">
                    <asp:TextBox ID="txtComoName" runat="server" CssClass="input1"></asp:TextBox></td>
                <th bgcolor="#FFFFFF" class="r_bg">
                    商品品牌：</th>
                <td bgcolor="#FFFFFF" class="right_bg">
                    <asp:TextBox ID="txtBrand" runat="server" CssClass="input1"></asp:TextBox></td>
            </tr>
            <tr>
                <th height="24" bgcolor="#FFFFFF" class="r_bg">
                    规格型号：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style=" width: 294px;">
                   <asp:TextBox ID="txtSpeci" runat="server" CssClass="input1"></asp:TextBox></td>
                <th bgcolor="#FFFFFF" class="r_bg" >
                    购买日期：</th>
                <td bgcolor="#FFFFFF" class="right_bg">
                    <asp:TextBox ID="txtDate1" runat="server" CssClass="input1"></asp:TextBox></td>
            </tr>
            <tr>
                <th height="24" bgcolor="#FFFFFF" class="r_bg">
                    随机附件：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style=" width: 294px;">
                    <asp:TextBox ID="txtsjfj" runat="server" CssClass="input1"></asp:TextBox></td>
                <th bgcolor="#FFFFFF" class="r_bg" >
                    序列号1：</th>
                <td bgcolor="#FFFFFF" class="right_bg">
                    <asp:TextBox ID="txtxlh1" runat="server" CssClass="input1" Width="100px"></asp:TextBox>序列号2：<asp:TextBox
                        ID="txtxlh2" runat="server" Width="100px"  CssClass="input1"></asp:TextBox>
                    </td>
                    
            </tr>
            
            <tr bgcolor="#3CB6E5" height="5px">
                
            </tr>
            <tr>
                <th height="22"   style="color: #3366ff; text-align: left; font-weight: bold;" colspan="4" bgcolor="#ffffff">
                    要求服务信息</th>
            </tr>
            <tr>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    维修日期：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:TextBox ID="txtdate" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    维 修 人：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                    <asp:DropDownList ID="ddlDept" runat="server"  AutoPostBack="True" OnSelectedIndexChanged="ddlDept_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlName" runat="server" >
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <th height="22" bgcolor="#FFFFFF" class="r_bg">
                    报修故障：</th>
                <td bgcolor="#FFFFFF" class="right_bg" >
                    <asp:TextBox ID="txtbj" runat="server" CssClass="input1" Width="300px"></asp:TextBox>
                    </td>
                    <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                        预约日期：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:TextBox ID="yydate" runat="server" CssClass="input1"></asp:TextBox>
                &nbsp;
            </tr>
            <tr>
                <th bgcolor="#FFFFFF" class="r_bg">
                </th>
                <td colspan="3" bgcolor="#FFFFFF" class="right_bg">
                    <asp:Button ID="btnAdd" CssClass="submit" runat="server" Text="保存并打印 " OnClick="btnAdd_Click" Visible="False"   />
                    &nbsp;&nbsp;&nbsp;
                </td>
            </tr>
             <tr bgcolor="#3CB6E5" height="5px" id="t13" style="display:none">
                
            </tr>
             <tr id="t1" style="display:none">
                <th height="22"  style="color: #3366ff; text-align: left; font-weight: bold;" colspan="4" bgcolor="#ffffff">
                    服务情况反馈</th>
            </tr>
            <tr id="t2" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    服务类型：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px;" >
                    <asp:DropDownList ID="sertype" runat="server">
                        <asp:ListItem Value="0">—选择服务类型—</asp:ListItem>
                        <asp:ListItem>维修</asp:ListItem>
                        <asp:ListItem>安装</asp:ListItem>
                    </asp:DropDownList></td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px" >
                    服务方式：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                   <asp:DropDownList ID="ddlserfs" runat="server">
                        <asp:ListItem Value="0">—选择服务方式—</asp:ListItem>
                        <asp:ListItem>上门</asp:ListItem>
                        <asp:ListItem>送修</asp:ListItem>
                        <asp:ListItem>接送</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr id="t3" style="display:none">
                <th bgcolor="#FFFFFF" class="r_bg" style="height: 26px">
                    遗留原因：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style="height: 26px; width: 294px;">
                    <asp:DropDownList ID="ddrylyy" runat="server">
                        <asp:ListItem Value="0">—选择遗留原因—</asp:ListItem>
                        <asp:ListItem>拉修</asp:ListItem>
                        <asp:ListItem>正在维修</asp:ListItem>
                        <asp:ListItem>等待配件</asp:ListItem>
                        <asp:ListItem>改约</asp:ListItem>
                        <asp:ListItem>维修完成</asp:ListItem>
                    </asp:DropDownList>
                    <asp:TextBox ID="txtylyy" runat="server" CssClass="input1"></asp:TextBox></td>
                <th bgcolor="#FFFFFF" class="r_bg" style="height: 26px">
                    保修情况：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style="height: 26px">
                    <asp:DropDownList ID="ddlbxqk" runat="server">
                        <asp:ListItem Value="0">—选择保修情况—</asp:ListItem>
                        <asp:ListItem>保内</asp:ListItem>
                        <asp:ListItem>保外</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr id="t4" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    服务措施：</th>
                <td bgcolor="#ffffff" class="right_bg" colspan="3" style="height: 26px">
                    <asp:TextBox ID="txtGuestYJ" runat="server" Text="空"  onBlur="if(this.value=='')this.value='空'"   onFocus="if(this.value=='空')this.value=''"  Columns="40" Rows="5" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr bgcolor="#3CB6E5" height="5px" id="t14" style="display:none">
                
            </tr>
            <tr id="t5" style="display:none">
                <th height="22"  style="color: #3366ff; text-align: left; font-weight: bold;" colspan="4" bgcolor="#ffffff">
                    收费信息</th>
            </tr>
            <tr id="t6" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    维 修 费：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:TextBox ID="txtwxfy" runat="server" CssClass="input1"  Text="0" onBlur="if(this.value=='')this.value='0'"   onFocus="if(this.value=='0')this.value=''"></asp:TextBox>元</td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    备 件 费：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                   <asp:TextBox ID="txtbjfy" runat="server" CssClass="input1"  Text="0" onBlur="if(this.value=='')this.value='0'"   onFocus="if(this.value=='0')this.value=''"></asp:TextBox>元</td>
            </tr>
            <tr id="t7" style="display:none"> 
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    材 料 费：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:TextBox ID="txtclfy" runat="server" CssClass="input1"  Text="0" onBlur="if(this.value=='')this.value='0'"   onFocus="if(this.value=='0')this.value=''"></asp:TextBox>元</td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    其 他 费：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                    <asp:TextBox ID="txtqtfy" runat="server" CssClass="input1"  Text="0" onBlur="if(this.value=='')this.value='0'"   onFocus="if(this.value=='0')this.value=''"></asp:TextBox>元</td>
            </tr>
            <tr id="t8" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    其他费用说明：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:TextBox ID="txtqyfysm" runat="server" CssClass="input1" onblur="if(this.value=='')this.value='空'"
                        onfocus="if(this.value=='空')this.value=''" Text="空" Width="300px"></asp:TextBox></td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    收费总金额：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                   <asp:TextBox ID="txtzr" runat="server" CssClass="input1"  Text="0" onBlur="if(this.value=='')this.value='0'"   onFocus="if(this.value=='0')this.value=''"></asp:TextBox>元</td>
            </tr>
            <tr bgcolor="#3CB6E5" height="5px" id="t15" style="display:none">
                
            </tr>
            <tr id="t9" style="display:none">
                <th height="22"  style="color: #3366ff; text-align: left; font-weight: bold;" colspan="4" bgcolor="#ffffff">
                    备件信息</th>
            </tr>
            <tr id="t10" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    备件描述：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:TextBox ID="txtbjms" runat="server" CssClass="input1" onblur="if(this.value=='')this.value='空'"
                        onfocus="if(this.value=='空')this.value=''" Text="空" Width="300px"></asp:TextBox></td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    备件专用号：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                    <asp:TextBox ID="txtbjzyh" runat="server" CssClass="input1"></asp:TextBox></td>
            </tr>
            <tr bgcolor="#3CB6E5" height="5px" id="t16" style="display:none">
                
            </tr>
            <tr id="t11" style="display:none">
                <th height="22"  style="color: #3366ff; text-align: left; font-weight: bold;" colspan="4" bgcolor="#ffffff">
                    维修员信息</th>
            </tr>
            <tr id="t12" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    客户评语：</th>
                <td bgcolor="#ffffff" class="right_bg" style="width: 294px; height: 26px">
                    <asp:DropDownList ID="ddlComt" runat="server">
                        <asp:ListItem Value="0">未平分</asp:ListItem>
                        <asp:ListItem Value="很好">很好</asp:ListItem>
                        <asp:ListItem Value="一般">一般</asp:ListItem>
                        <asp:ListItem Value="不好">不好</asp:ListItem>
                    </asp:DropDownList></td>
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    维修提成：</th>
                <td bgcolor="#ffffff" class="right_bg" style="height: 26px">
                   <asp:TextBox ID="txttc" runat="server" CssClass="input1" Text="0" onBlur="if(this.value=='')this.value='0'"   onFocus="if(this.value=='0')this.value=''"></asp:TextBox>元</td>
            </tr>
            <tr id="t19" style="display:none">
                <th bgcolor="#ffffff" class="r_bg" style="height: 26px">
                    客户意见：</th>
                <td bgcolor="#ffffff" class="right_bg" colspan="3" style="height: 26px">
                    <asp:TextBox ID="txtyj" runat="server" Text="空"  onBlur="if(this.value=='')this.value='空'"   onFocus="if(this.value=='空')this.value=''"  Columns="40" Rows="5" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr id="t17" style="display:none">
                <th bgcolor="#FFFFFF" class="r_bg" style="height: 16px">
                    结算人员：</th>
                <td bgcolor="#FFFFFF" class="right_bg" style="height: 16px; width: 294px;">
                    <asp:Label ID="lblName" runat="server"></asp:Label></td>
                <th bgcolor="#FFFFFF" class="r_bg" style="height: 16px">
                    </th>
                <td bgcolor="#FFFFFF">
                    </td>
            </tr>
            <tr id="t18" style="display:none">
                <th bgcolor="#FFFFFF" class="r_bg">
                </th>
                <td colspan="3" bgcolor="#FFFFFF" class="right_bg">
                    <asp:Button ID="btnall" CssClass="submit" runat="server" Text=" 保存 " OnClick="btnall_Click" Visible="False"    />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnallprint" runat="server"　CssClass="submit" Text="封单结算" OnClick="btnallprint_Click" Visible="False" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
